// ccache.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include <iostream>
#include <string>

#include "CCmd.h"
#include "CCacheCtl.h"
#include "CConfig.h"

int main(int argc, char* argv[])
{
	CCmd * cmd = new CCmd( argc,argv );
	CConfig * config = new CConfig();
	CCacheCtl * cacheCtl = new CCacheCtl( cmd, config );
	
	cacheCtl->execute();
	config->saveConfig();

	return 0;
}

